#pragma once

#include <QtWidgets/QMainWindow>
#include <QtNetwork/QTcpSocket>
#include "ui_TCPClient.h"

class TCPClient : public QMainWindow
{
	Q_OBJECT
public:
	TCPClient(QWidget *parent = Q_NULLPTR);


private slots:
	void on_btnConServer_clicked();
	void on_btnDiscon_clicked();
	void slotConnect();
	void readyread();
	void on_btnSend_clicked();

private:
	QTcpSocket * socket;


private:
	Ui::TCPClientClass ui;
};
